package cuatroenlinea.com.correosocial;

import android.location.Location;
import android.location.LocationListener;
import android.os.Bundle;

public class CorreoSocialLocationListener implements LocationListener
{
    private final LocationActivity activity;

    public CorreoSocialLocationListener(LocationActivity locationActivity)
    {
        this.activity = locationActivity;
    }

    @Override
    public void onStatusChanged(String s, int i, Bundle bundle) {

    }

    @Override
    public void onProviderDisabled(String s) {

    }

    @Override
    public void onLocationChanged(Location location)
    {
        activity.ActualizarPosicion(location);
    }

    @Override
    public void onProviderEnabled(String s) {

    }
}
